Meaning of the word "a little of what you fancy does you good" in English

What does "a little of what you fancy does you good" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

a little of what you fancy does you good

US /ə ˈlɪt.əl əv wʌt juː ˈfæn.si dʌz juː ɡʊd/
UK /ə ˈlɪt.əl əv wɒt juː ˈfæn.si dʌz juː ɡʊd/
"a little of what you fancy does you good" picture

Idiom

used to say that it is good for you to have a small amount of something you enjoy, even if it is not very healthy

Example:
I know I'm on a diet, but a little of what you fancy does you good.
Go ahead and have that chocolate; a little of what you fancy does you good.